<!--
@author	Yi Bo <etng2004@gmail.com>
@version	$Id: staff_add.php 56 2007-09-10 02:01:01Z etng2004 $
@copyrithg	2006-2007 ETE.CN
@license 	PHP Version 3.0 {@link http://www.php.net/license/3_0.txt}
-->
<?php
$this->declareVars();
require_once(dirname(__FILE__) . '/_meta_staff.php');
echo $this->render('header.php');

//$this->dump($$this->staff);
$staff = $this->staff;
?>
<form action="<?php echo $this->base_url; ?>/add/" method="post" enctype="multipart/form-data" name="frmAddStaff" id="frmAddStaff">
<table cellpadding="0" cellspacing="0" border="0">
<tr class="tblhead">
	<td colspan="2">添加</td>
</tr>
    <tr class="tblbody">
      <td width="15%"><?php echo $meta['staff']['fields']['client_type'];?>：</td>
      <td width="85%">
      <?php
  echo $this->formSelect('fields[client_type]', @$client['client_type'], array('id'=>'field_client_type'), $this->client_types);
      ?>
      </td>
    </tr>

        	<tr class="tblbody">
	<td width="15%"><?php echo $meta['staff']['fields']['username'];?>：</td>
	<td width="85%"><input type="text" name="fields[username]" value="<?php echo $staff['username'];?>" id="field_username" /></td>
</tr>
        	<tr class="tblbody">
	<td width="15%"><?php echo $meta['staff']['fields']['userpass'];?>：</td>
	<td width="85%"><input type="text" name="fields[userpass]" value="<?php echo $staff['userpass'];?>" id="field_userpass" /></td>
</tr>
        	<tr class="tblbody">
	<td width="15%"><?php echo $meta['staff']['fields']['name'];?>：</td>
	<td width="85%"><input type="text" name="fields[name]" value="<?php echo $staff['name'];?>" id="field_name" /></td>
</tr>
        	<tr class="tblbody">
	<td width="15%"><?php echo $meta['staff']['fields']['email'];?>：</td>
	<td width="85%"><input type="text" name="fields[email]" value="<?php echo $staff['email'];?>" id="field_email" /></td>
</tr>
        	<tr class="tblbody">
	<td width="15%"><?php echo $meta['staff']['fields']['msn'];?>：</td>
	<td width="85%"><input type="text" name="fields[msn]" value="<?php echo $staff['msn'];?>" id="field_msn" /></td>
</tr>
        	<tr class="tblbody">
	<td width="15%"><?php echo $meta['staff']['fields']['qq'];?>：</td>
	<td width="85%"><input type="text" name="fields[qq]" value="<?php echo $staff['qq'];?>" id="field_qq" /></td>
</tr>
        	<tr class="tblbody">
	<td width="15%"><?php echo $meta['staff']['fields']['phone'];?>：</td>
	<td width="85%"><input type="text" name="fields[phone]" value="<?php echo $staff['phone'];?>" id="field_phone" /></td>
</tr>
        	<tr class="tblbody">
	<td width="15%"><?php echo $meta['staff']['fields']['cellphone'];?>：</td>
	<td width="85%"><input type="text" name="fields[cellphone]" value="<?php echo $staff['cellphone'];?>" id="field_cellphone" /></td>
</tr>
<tr class="tblfoot">
	<td colspan="2" align="center"><input type="submit" value="发布" /></td>
</tr>
</table>
</form>
<script type="text/javascript">
	$(document).ready(function () {
	});
</script>
<?php echo $this->render('footer.php');?>